home *** CD-ROM | disk | FTP | other *** search
- .key drive/a
- ; Install command-file for CommLink BBS beta 0.87
- ; Copyright (C) 1987 by Scott Martin
- ; -=[ By Scott Martin ]=-
- ; 8702.22
- ;
- ; Format: EXECUTE INSTALL[<dir>]
- ; Template: EXECUTE INSTALL "Drive/A"
- ;
- echo "Installing CommLink BBS default setup on drive: <drive>"
- echo "Please wait.."
- echo " "
- if not exists "<drive>BBS"
- echo "Creating dir <drive>BBS"
- makedir "<drive>BBS"
- endif
- cd "<drive>BBS"
- if not exists "User"
- echo "Creating dir User"
- makedir "User"
- endif
- if not exists "Boards"
- echo "Creating dir Boards"
- makedir "Boards"
- endif
- if not exists "Boards/Software"
- echo " Creating dir Boards/Software"
- makedir "Boards/Software"
- endif
- if not exists "Boards/Hardware"
- echo " Creating dir Boards/Hardware"
- makedir "Boards/Hardware"
- endif
- if not exists "Boards/Amiga"
- echo " Creating dir Boards/Amiga"
- makedir "Boards/Amiga"
- endif
- if not exists "Boards/EMail"
- echo " Creating dir Boards/EMail"
- makedir "Boards/EMail"
- endif
- if not exists "Libs"
- echo "Creating dir Libs"
- makedir "Libs"
- endif
- if not exists "Libs/Text"
- echo " Creating dir Libs/Text"
- makedir "Libs/Text"
- endif
- if not exists "Libs/Source"
- echo " Creating dir Libs/Source"
- makedir "Libs/Source"
- endif
- if not exists "Menus"
- echo "Creating dir Menus"
- makedir "Menus"
- endif
- if not exists "Text"
- echo "Creating dir Text"
- makedir "Text"
- endif
- ; Move all of the BBS menus to Text drawer(dir)
- echo "Moving the BBS menu text files.."
- rename bulletin.txt as Text/bulletin.txt
- rename editor.txt as Text/editor.txt
- rename file.txt as Text/file.txt
- rename info.txt as Text/info.txt
- rename logoff.txt as Text/logoff.txt
- rename main.txt as Text/main.txt
- rename msg.txt as Text/msg.txt
- rename news.txt as Text/news.txt
- rename newuser.txt as Text/newuser.txt
- rename quit.txt as Text/quit.txt
- rename read.txt as Text/read.txt
- rename welcome.txt as Text/welcome.txt
- rename bulletin1 as Text/bulletin1
- rename bulletin2 as Text/bulletin2
- ;Move .setup files to repective drawers(dirs)
- echo "Moving .setup files.."
- rename Libs.setup as Libs/Libs.setup
- rename Board.setup as Boards/Board.setup
- rename Menu.setup as Menus/Menu.setup
- rename Linkbbs.set as Linkbbs.setup
- echo "Installation all done."
-